﻿namespace BM.Tools.WebControls.MForm.Controls.Additions
{    
    /// <summary>
    /// ServiceParameter class keeps data about parameters of the <see cref="ServiceConstraint" />.
    /// The <see cref="ServiceConstraint" /> invokes a service with parameters, each of these parameters has a <see cref="Name" /> 
    /// and a <see cref="Path" /> to the offspring item, whose value will be taken
    /// </summary>    
    public class ServiceParameter
    {        
        /// <summary>
        /// Gets or sets Name.
        /// </summary>
        /// <value>
        /// The name of the parameter.
        /// </value>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets Path.
        /// </summary>
        /// <value>
        /// The path of the offspring item.
        /// </value>
        public string Path
        {
            get;
            set;
        }
    }
}